package com.iplant.aps.service;


import com.iplant.aps.service.po.aps.APSSchedulingVersionBPM;
import com.iplant.aps.service.po.aps.APSTaskPart;
import com.iplant.aps.service.po.asv.ASVHandleTask;
import com.iplant.base.po.BPMResource;
import com.iplant.base.po.ServiceResult;
import com.iplant.basic.service.bpm.BPMTaskService;
import com.iplant.basic.service.po.bms.BMSEmployee;

import java.util.List;
import java.util.Map;

public interface ASVService extends BPMTaskService<APSSchedulingVersionBPM> {


    public final static BPMResource<ASVHandleTask> mHandleTaskResource=new BPMResource<>();

    ServiceResult<Integer> APS_SaveSchedulingVersion(BMSEmployee wLoginUser, List<APSTaskPart> wTaskPartList,int wAPSShiftPeriod);

    ServiceResult<APSSchedulingVersionBPM> APS_QuerySchedulingVersionBPMInfo(BMSEmployee wLoginUser,
                                                                             Map<String, Object> wParams);


    ServiceResult<Integer> ASV_SaveScheduleResult(BMSEmployee wLoginUser, List<APSTaskPart> wTaskPartList);
}
